package ysu.sxm.ptjc.Service;

import ysu.sxm.ptjc.Domin.DefectReq;
import ysu.sxm.ptjc.Domin.DefectTopCondition;

import java.util.List;
import java.util.Map;

public interface DefectStatisticsService {
    /**
     *
     * @param defectReq->查询条件
     * @return 缺陷对应缺陷描述的数据
     */
    Map<String,Object> defect(DefectReq defectReq);

    /**
     *
     * @param topCondition
     * @return  top榜的数据
     */
    String defTop(DefectTopCondition topCondition);
}
